<?php

/**
 * Adminhtml grid item renderer
 *
 * @category   VES
 * @package    VES_Vendors
 * @author     Vnecoms Team <support@vnecoms.com>
 */

class VES_VendorsWarehouse_Block_Widget_Grid_Column_Renderer_AddressActions
    extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Action
{

    public function render(Varien_Object $row)
    {
        $wId = $row->getData('entity_id');
		return '<span class="status_yellow" style="cursor:pointer;">
		    <a onclick="warehouse.createAddress(\'' .$this->getUrl('*/warehouse_address/save', array('id'=>$wId)
                ) . '\')" style="display:block;">' . Mage::helper('vendorswarehouse')->__('Edit') .'</a></span>';
    }
	
}
